//hello merong
public class Book 
{
	private String category, title, author, report, date, whether;
	private int num;
	
	public Book (String category, String title, String author, String whether)
	{
		this.category = category;
		this.title = title;
		this.author = author;
		this.whether = whether;
		this.report = "";
	}
	
	public String toString()
	{
		String report = "[" + category + "] ";
		report += title + " - ";
		report += author;

		return report;
	}
	
	public String getCategory()
	{
		return category;
	}
	
	public String getTitle()
	{
		return title;
	}
	
	public String getAuthor()
	{
		return author;
	}
	
	public String getWhether()
	{
		return whether;
	}
	
	public String getReport()
	{
		return report;
	}
	
	public void modifyBook(String category, String title, String author, String whether)
	{
		this.category = category;
		this.title = title;
		this.author = author;
		this.whether = whether;
	}
	
	public void setWhether(String whether)
	{
		this.whether = whether;
	}
	
	public void setReport(String writing)
	{
		report = writing;
	}
	
}
